import SocketIoConnection from './SocketIoConnection';

export default class WebRTC {
  constructor(opts) {
    const options = opts || {};
    const config = this.config = {
        url: 'https://sandbox.simplewebrtc.com:443/',
        socketio: {/* 'force new connection':true*/},
        connection: null,
        debug: false,
        localVideoEl: '',
        remoteVideosEl: '',
        enableDataChannels: true,
        autoRequestMedia: false,
        autoRemoveVideos: true,
        adjustPeerVolume: false,
        peerVolumeWhenSpeaking: 0.25,
        media: {
            video: true,
            audio: true
        },
        receiveMedia: {
            offerToReceiveAudio: 1,
            offerToReceiveVideo: 1
        },
        localVideo: {
            autoplay: true,
            mirror: true,
            muted: true
        }
    };
    const item, connection;
  }
}
